package cn.tedu;

public class dou11 {
    public static void main(String[] args) {
       z z = new z();
       z.show();


    }
}
class f{
    String name = "老王";
    String sname;
}
class z extends f {
    String name = "小王";
    int age = 20;
    public void show(){
        int age = 10 ;
        System.out.println(age);
        System.out.println(this.age);
        System.out.println(name);
        System.out.println(super.name);
    }
}
